package 反射5;

public class course {
    private String cno;
    private String cname;
    private String tno;

    public course() {
    }

    public course(String cno, String cname, String tno) {
        this.cno = cno;
        this.cname = cname;
        this.tno = tno;
    }

    /**
     * 获取
     * @return cno
     */
    public String getCno() {
        return cno;
    }

    /**
     * 设置
     * @param cno
     */
    public void setCno(String cno) {
        this.cno = cno;
    }

    /**
     * 获取
     * @return cname
     */
    public String getCname() {
        return cname;
    }

    /**
     * 设置
     * @param cname
     */
    public void setCname(String cname) {
        this.cname = cname;
    }

    /**
     * 获取
     * @return tno
     */
    public String getTno() {
        return tno;
    }

    /**
     * 设置
     * @param tno
     */
    public void setTno(String tno) {
        this.tno = tno;
    }

    public String toString() {
        return "course{cno = " + cno + ", cname = " + cname + ", tno = " + tno + "}";
    }
}
